package com.yanfan.ccapicode.bean.third.alexa;

import lombok.*;

import java.util.List;

/**
 * :)
 *
 */
@Getter
@Setter
public class AlexaDiscoveryResponse {

    private Event event;

    public AlexaDiscoveryResponse(Event event){
        this.event = event;
    }

    @Getter
    @Setter
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Event {

        private AlexaHeader header;

        private Payload payload;
    }

    @Getter
    @Setter
    public static class Payload {

        private List<AlexaDevice> endpoints;
    }
}
